package com.kgis.fm.platform.model.metadata;

import com.kgis.kp.model.LifecycleModel;

/**
 * KGM_NODEEDGECONNECTIVITY
 * 
 * @author zhxiaomiao
 * @version 1.0
 */
public class Connectionship extends LifecycleModel {
	
	private static final long serialVersionUID = 1L;
	private int id;
	/**
	 * 源设备类型号
	 */
	private int sourceFno;
	/**
	 * 要连接设备的FNO
	 */
	private int clientFno;
	/**
	 * 源设备触发CNO
	 */
	private int sourceCno;
	/**
	 * 要连接设备触发CNO
	 */
	private int clientCno;
	/**
	 * 是否必需 0-可选 1-必需
	 */
	private boolean enforcement;
	/**
	 * 是否打断线 0-不打断 1-不打断
	 */
	private boolean breakLine;
	/**
	 * 最大偏移距离,-1-校验时不考虑距离
	 */
	private double maxoffset;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSourceFno() {
		return sourceFno;
	}
	public void setSourceFno(int sourceFno) {
		this.sourceFno = sourceFno;
	}
	public int getClientFno() {
		return clientFno;
	}
	public void setClientFno(int clientFno) {
		this.clientFno = clientFno;
	}
	public int getSourceCno() {
		return sourceCno;
	}
	public void setSourceCno(int sourceCno) {
		this.sourceCno = sourceCno;
	}
	public int getClientCno() {
		return clientCno;
	}
	public void setClientCno(int clientCno) {
		this.clientCno = clientCno;
	}
	public boolean isEnforcement() {
		return enforcement;
	}
	public void setEnforcement(boolean enforcement) {
		this.enforcement = enforcement;
	}
	public boolean isBreakLine() {
		return breakLine;
	}
	public void setBreakLine(boolean breakLine) {
		this.breakLine = breakLine;
	}
	public double getMaxoffset() {
		return maxoffset;
	}
	public void setMaxoffset(double maxoffset) {
		this.maxoffset = maxoffset;
	}

}
